﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    public class ContactUs
    {
        /// <summary>
        /// id du contact
        /// </summary>
        [Required]
        public virtual int Id { get; set; }

        /// <summary>
        /// titre
        /// </summary>
        [Required]
        [MaxLength(120)]
        [Display(Name = "Titre")]
        public virtual string Title { get; set; }

        /// <summary>
        /// contenu
        /// </summary>
        [Required]
        [Display(Name = "Contenu")]
        public virtual string Content { get; set; }

        /// <summary>
        /// email
        /// </summary>
        [Required]
        [Display(Name = "Email")]
        public virtual string Email { get; set; }
    }
}
